tooltips-on-safari-bone-age-cropping #106
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This PR fixes a couple of items
Code changes
CentileChart.tsx
andtooltips.ts
: tooltips have been refactored to return an array of strings which in turn have\n
added. The number of strings in the array is used to override theflyoutHeight
prop in theVictoryTooltip
to set the tooltip height dynamically. This works now both in chrome and safari.getDomainsAndData
sets lowest x and highest x in the domains to the bone age if it is the highest or lowest value. This fixes bone age cropping #102Documentation changes (done or required as a result of this PR)
Please describe any changes to documentation here.
Related Issues
List any issues related to this PR here.
Mentions
@mentions of the person or team responsible for reviewing proposed changes.